<template>
  <div class="iconList">
    <!-- 每日推荐 -->
    <div class="iconItem">
      <svg class="icon search" aria-hidden="true" @click="$router.push('/recommendsongs')">
            <use xlink:href="#icon-fanjutuijian"></use>
      </svg>
      <span>每日推荐</span>
    </div>
    <!-- 私人FM -->
    <div class="iconItem">
      <svg class="icon search" aria-hidden="true">
            <use xlink:href="#icon-airec"></use>
      </svg>
      <span>私人FM</span>
    </div>
    <!-- 歌单 -->
    <div class="iconItem">
      <svg class="icon search" aria-hidden="true" @click="$router.push('/playlistdetail')">
            <use xlink:href="#icon-gedan"></use>
         </svg>
      <span>歌单</span>
    </div>
    <!-- 排行榜 -->
    <div class="iconItem">
      <svg class="icon search" aria-hidden="true" @click="$router.push('/toplist')">
            <use xlink:href="#icon-paihangbang" ></use>
        </svg>
      <span>排行榜</span>
    </div>
  </div>
</template>

<script>
export default {
 functional: true,
}
</script>

<style lang="less" scoped>
.iconList{
  width: 7.5rem;
  display: flex;
  justify-content: space-around;
  padding:0.3rem;
  .iconItem{
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    .icon{
    width: 1.2rem;
    height: 1.2rem;
    }
    span{
      font-size:0.22rem
    }
  }
}

</style>